<div class="db-source">
  <nz-table [nzDataSource]="dbSource" class="source-table" [nzIsPagination]="false">
    <thead>
      <tr>
        <th nz-th style="padding-left: 20px;padding-bottom:6px;padding-top:6px">
          <span>数据源名称</span>
        </th>
        <th nz-th >
          <span>所属项目组</span>
        </th>
        <th nz-th >
          <span>创建时间</span>
        </th>
        <th nz-th >
          <span>操作</span>
        </th>
      </tr>
    </thead>

    <tbody>
      <tr nz-tbody-tr *ngFor="let data of dbSource" class="source-tr">
        <td nz-td style="padding-left: 20px;">
          <a (click)="chooseDb(data.id)">{{data.name}}</a>
        </td>
        <td nz-td>{{data.project}}</td>
        <td nz-td>{{data.createTime}}</td>
        <td nz-td><a (click)="chooseDb(data.id)">文件列表</a><a style="margin-left:20px">删除</a></td>
      </tr>
    </tbody>
  </nz-table>
</div>